package model

type AiQuestionConsultStaticsCreateRequest struct {
	Id            int64   `json:"id"`
	QuestionId    int64   `json:"question_id"`
	QuestionTopic string  `json:"question_topic"`
	Questioner    string  `json:"questioner"`
	Avg           float64 `json:"avg"`
	Count         int     `json:"count"`
	RankType      int     `json:"rank_type"`
	CreatedAt     int64   `json:"created_at"`
	UpdatedAt     int64   `json:"updated_at"`
}
type AiQuestionConsultStaticsUpdateRequest struct {
	Id            int64    `json:"id"`
	QuestionId    *int64   `json:"question_id"`
	QuestionTopic *string  `json:"question_topic"`
	Questioner    *string  `json:"questioner"`
	Avg           *float64 `json:"avg"`
	Count         *int     `json:"count"`
	RankType      *int     `json:"rank_type"`
	CreatedAt     *int64   `json:"created_at"`
	UpdatedAt     *int64   `json:"updated_at"`
}
type AiQuestionConsultStaticsListRequest struct {
	Id            int64    `json:"id"`
	QuestionId    *int64   `json:"question_id"`
	QuestionTopic *string  `json:"question_topic"`
	Questioner    *string  `json:"questioner"`
	Avg           *float64 `json:"avg"`
	Count         *int     `json:"count"`
	RankType      *int     `json:"rank_type"` // 0 默认平均分排行查询 1 咨询量排行查询
	CreatedAt     *int64   `json:"created_at"`
	UpdatedAt     *int64   `json:"updated_at"`
	Index         int      `json:"index"`
	Size          int      `json:"size"`
}
type AiQuestionConsultStaticsListResponse struct {
	Total int                             `json:"total"`
	List  []*AiQuestionConsultStaticsInfo `json:"list"`
}
type AiQuestionConsultStaticsInfoRequest struct {
	Id         int64 `json:"id"`
	QuestionId int64 `json:"question_id"`
}
type AiQuestionConsultStaticsInfo struct {
	Id            int64   `json:"id"`
	QuestionId    int64   `json:"question_id"`
	QuestionTopic string  `json:"question_topic"`
	Questioner    string  `json:"questioner"`
	Avg           float64 `json:"avg"`
	Count         int     `json:"count"`
	RankType      int     `json:"rank_type"`
	CreatedAt     int64   `json:"created_at"`
	UpdatedAt     int64   `json:"updated_at"`
}
type AiQuestionConsultStaticsDeleteRequest struct {
	Id int64 `json:"id"`
}
